package com.woniuxy.certified.service;

import com.woniuxy.certified.dao.ApplicationForm;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.certified.model.dto.CertifiedAccountDto;
import com.woniuxy.certified.model.param.ApplicationParam;
import com.woniuxy.certified.model.param.PassAllApplicationParam;
import com.woniuxy.core.util.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 凌玉春
 * @since 2024年01月15日
 */
public interface ApplicationFormService extends IService<ApplicationForm> {

    void test();

    void applicationForProperty(ApplicationParam param);

    String uploadImage(MultipartFile image) throws IOException;

    CertifiedAccountDto passApplication(Integer id);

    void refuseApplication(Integer id);

    PageInfo<ApplicationForm> passAllApplication(PassAllApplicationParam param);

    ApplicationForm LoadcertifiedBycertifiedInfoName(String certifiedInfoName);
}
